package com.example.demo.business.dao;

import com.example.demo.business.bean.entity.HIndexCategory;
import com.example.demo.business.bean.entity.HStar;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface HStarDao  extends JpaRepository<HStar,Integer> {
    Page<HStar> findByPinyinName(String pinyin, Pageable pageable);
}
